package com.achao.dao;

import org.apache.ibatis.annotations.Param;

/**
 * (Passenger)表数据库访问层
 *
 * @author makejava
 * @since 2022-07-24 09:40:34
 */
public interface PassengerDao {

    /**
     * 添加乘客
     * @param userId
     * @param idTypeId
     * @param pName
     * @param idNum
     * @param phone
     * @param email
     * @param tTypeId
     * @return
     */
    int add(@Param("user_id") int userId,@Param("identification_type_id") int idTypeId,
            @Param("passenger_name") String pName,@Param("identification_num") String idNum,
            @Param("phone") String phone,@Param("email") String email,
            @Param("traveller_type_id") int tTypeId);

}

